package com.linkage.jz.bankruptcy.bean.Vote;

import com.google.gson.Gson;
import com.google.gson.JsonObject;

import java.io.Serializable;

/**
 * @author AFAP
 * 表决结果
 */
public class ProVoteResult implements Serializable {
    /**
     * voteId : f9ed9250560a4c49bdbc8bd38fa880e1
     * fileUrl : http://xxx/group1/M00/00/12/rBHd5FzsqPyAZBXwAACwFWM5pGo927
     * .pdf?token=f89fac1fb1e46b9933b302532ebbdd23&ts=1559013638
     * resultId : 1929f3a8d81a40e08c41de620f828a69
     */

    private String voteId;
    private String fileUrl;
    private String resultId;

    public String getVoteId() {
        return voteId;
    }

    public void setVoteId(String voteId) {
        this.voteId = voteId;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getResultId() {
        return resultId;
    }

    public void setResultId(String resultId) {
        this.resultId = resultId;
    }


    public static ProVoteResult parse(JsonObject obj) {
        ProVoteResult bean = new Gson().fromJson(obj, ProVoteResult.class);
        return bean;
    }
}
